package com.yixin.hospital.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.VisitTemplateJobOffice;
import com.yixin.hospital.entity.dto.req.visitTemplate.VisitTemplateJobOfficeReqDTO;

import java.util.List;

/**
* @author 
* @description 针对表【visit_template_job_office(科室就诊模板映射表)】的数据库操作Service
* @createDate 2024-03-28 21:37:13
*/
public interface VisitTemplateJobOfficeService extends IService<VisitTemplateJobOffice> {

    ApiResult<List<Tree<Integer>>> info(int jobOfficeId);

    ApiResult allList();

    ApiResult add(VisitTemplateJobOfficeReqDTO visitTemplateAddReqDTO, String userName);

    ApiResult edit(VisitTemplateJobOfficeReqDTO visitTemplateAddReqDTO, String userName);
}
